#include "BlazePluginALAudioSystem.h"

BeALAudioSystem::BeALAudioSystem() :
	BeAudioSystem()
{

}

BeALAudioSystem::~BeALAudioSystem()
{

}

bool BeALAudioSystem::Install()
{
	return true;
}

void BeALAudioSystem::Uninstall()
{

}

static BeALAudioSystem* g_pAlAudioSystem = NULL;

extern "C" unsigned long _BlazeDllExports InstallPlugin()
{
	if (g_pAlAudioSystem == NULL)
	{
		g_pAlAudioSystem = new BeALAudioSystem;

		if (g_pAlAudioSystem != NULL && g_pAlAudioSystem->Install())
			return (unsigned long)g_pAlAudioSystem;
	}

	return 0;
}

extern "C" void _BlazeDllExports UninstallPlugin()
{
	if (g_pAlAudioSystem != NULL)
	{
		g_pAlAudioSystem->Uninstall();

		delete g_pAlAudioSystem;
		g_pAlAudioSystem = NULL;
	}
}

